package com.gin.no_gay_alliance.utils;

import com.gin.no_gay_alliance.activity.MainActivity;

/**
 * 统一存放Handler使用的Message.what标识
 *
 * @author : ginstone
 * @version : v1.0.0
 * @since : 2023/8/12 12:43
 **/
public class HandlerMessage {

    /**
     * 更新toolbar 标题 at  {@link MainActivity}
     */
    public static final int UPDATE_TOOLBAR_TITLE = 0;
    /**
     * 更新最大页数的消息
     */
    public static final int UPDATE_TOTAL_PAGE = 1;
    /**
     * 更新搜索区域
     */
    public static final int UPDATE_SEARCH_AREA = 2;
    /**
     * 更新当前用户id at  {@link MainActivity}
     */
    public static final int UPDATE_CURRENT_USER_ID = 3;
    /**
     * 隐藏操作按钮
     */
    public static final int HIDE_BUTTON = 4;
    /**
     * 显示操作按钮
     */
    public static final int SHOW_BUTTON = 5;
    /**
     * 更新版面ID
     */
    public static final int UPDATE_FORUM_ID = 6;
    /**
     * 打开活动: 发帖活动
     */
    public static final int START_ACTIVITY_POST_ACTIVITY = 7;
    /**
     * 更新版面信息
     */
    public static final int UPDATE_FORUM_INFO = 8;
    /**
     * 更新提醒消息数据
     */
    public static final int UPDATE_NOTICE_DATA = 9;
    /**
     * 更新请求响应
     */
    public static final int UPDATE_READ_ITEM = 10;
    /**
     * 发帖界面插入文本
     */
    public static final int INSERT_TEXT = 11;
    /**
     * 发帖界面插入主题分类
     */
    public static final int INSERT_TOPIC_KEY = 12;
    /**
     * 发帖界面插入链接
     */
    public static final int INSERT_TEXT_URL = 13;
    /**
     * 发帖界面插入折叠框
     */
    public static final int INSERT_TEXT_COLLAPSE = 14;
    /**
     * 更新上传附件列表
     */
    public static final int UPDATE_UPLOAD_BODY = 15;
    /**
     * 更新私信信息
     */
    public static final int UPDATE_PRI_REPLY_BODY = 16;
    /**
     * 主题列表分页的查询成功回调
     */
    public static final int ON_SUCCESS_TOPIC_LIST_REQUEST = 17;

}
